import request from '@/utils/request'

// 查询Child Status列表
export function listChild_status(query) {
  return request({
    url: '/system/child_status/list',
    method: 'get',
    params: query
  })
}

// 查询Child Status详细
export function getChild_status(id) {
  return request({
    url: '/system/child_status/' + id,
    method: 'get'
  })
}

// 新增Child Status
export function addChild_status(data) {
  return request({
    url: '/system/child_status',
    method: 'post',
    data: data
  })
}

// 修改Child Status
export function updateChild_status(data) {
  return request({
    url: '/system/child_status',
    method: 'put',
    data: data
  })
}

// 删除Child Status
export function delChild_status(id) {
  return request({
    url: '/system/child_status/' + id,
    method: 'delete'
  })
}
